package com.example.b_308.myapplication.model.base;

import java.io.Serializable;

/**
 * Created by B-308 on 2017/11/14.
 */
public class BaseDoctor extends com.example.b_308.myapplication.model.base.BaseModel implements Serializable {
    /**
     * ID
     */
    String id;
    /**
     * 手机号码
     */
    String phone_num;
    /**
     * 姓名
     */
    String doctor_name;
    /**
     * token(自动登录使用到的东西)
     */
    String token;
    /**
     * 职位
     */
    String title;
    /**
     * 接诊量
     */
    Integer admissions;
    /**
     * 粉丝数
     */
    Integer fans;
    /**
     * 评分
     */
    String score;
    /**
     * 头像链接
     */
    String head_portrait;
    /**
     * 擅长
     */
    String be_good_at;
    /**
     * 所在医院
     */
    String hospital;
    /**
     * 科室
     */
    String department;
    /**
     * 身份证号码
     */
    String idcard;
    /**
     * 是否开通问诊
     */
    String Whether_or_not_to_open_interrogation;

    public BaseDoctor(){
    }

    public BaseDoctor(String id) {
        setId(id);
    }

    public String getId() {
        if (null == id) {
            id = getStr("id");
        }
        return id;
    }

    public String getPhone_num() {
        if (null == phone_num) {
            phone_num = getStr("phone_num");
        }
        return phone_num;
    }

    public String getDoctor_name() {
        if (null == doctor_name) {
            doctor_name = getStr("doctor_name");
        }
        return doctor_name;
    }

    public String getToken() {
        if (null == token) {
            token = getStr("token");
        }
        return token;
    }

    public String getTitle() {
        if (null == title) {
            title = getStr("title");
        }
        return title;
    }

    public Integer getAdmissions() {
        if (null == admissions) {
            admissions = getInt("admissions");
        }
        return admissions;
    }

    public Integer getFans() {
        if (null == fans) {
            fans = getInt("fans");
        }
        return fans;
    }

    public String getScore() {
        if (null == score) {
            score = getStr("score");
        }
        return score;
    }

    public String getHead_portrait() {
        if (null == head_portrait) {
            head_portrait = getStr("head_portrait");
        }
        return head_portrait;
    }

    public String getBe_good_at() {
        if (null == be_good_at) {
            be_good_at = getStr("be_good_at");
        }
        return be_good_at;
    }

    public String getHospital() {
        if (null == hospital) {
            hospital = getStr("hospital");
        }
        return hospital;
    }

    public String getDepartment() {
        if (null == department) {
            department = getStr("department");
        }
        return department;
    }

    public String getIdcard() {
        if (null == idcard) {
            idcard = getStr("idcard");
        }
        return idcard;
    }

    public String getWhether_or_not_to_open_interrogation() {
        if (null == Whether_or_not_to_open_interrogation) {
            Whether_or_not_to_open_interrogation = getStr("Whether_or_not_to_open_interrogation");
        }
        return Whether_or_not_to_open_interrogation;
    }

    public void setId(String id) {

        put("id", id);
        this.id = id;
    }

    public void setPhone_num(String phone_num) {

        put("phone_num", phone_num);
        this.phone_num = phone_num;
    }

    public void setDoctor_name(String doctor_name) {

        put("doctor_name", doctor_name);
        this.doctor_name = doctor_name;
    }

    public void setToken(String token) {

        put("token", token);
        this.token = token;
    }

    public void setTitle(String title) {

        put("title", title);
        this.title = title;
    }

    public void setAdmissions(Integer admissions) {

        put("admissions", admissions);
        this.admissions = admissions;
    }

    public void setFans(Integer fans) {

        put("fans", fans);
        this.fans = fans;
    }

    public void setScore(String score) {

        put("score", score);
        this.score = score;
    }

    public void setHead_portrait(String head_portrait) {

        put("head_portrait", head_portrait);
        this.head_portrait = head_portrait;
    }

    public void setBe_good_at(String be_good_at) {

        put("be_good_at", be_good_at);
        this.be_good_at = be_good_at;
    }

    public void setHospital(String hospital) {

        put("hospital", hospital);
        this.hospital = hospital;
    }

    public void setDepartment(String department) {

        put("department", department);
        this.department = department;
    }

    public void setIdcard(String idcard) {

        put("idcard", idcard);
        this.idcard = idcard;
    }

    public void setWhether_or_not_to_open_interrogation(String whether_or_not_to_open_interrogation) {

        put("Whether_or_not_to_open_interrogation", Whether_or_not_to_open_interrogation);
        Whether_or_not_to_open_interrogation = whether_or_not_to_open_interrogation;
    }
}
